/**
 * 
 */
package com.itinsys.enma.domain;

import java.io.Serializable;
import java.sql.Timestamp;
/**
 * @author pferraz
 *
 */
public class Trace implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private long id;
	private String reservationType;
	private String modificationType;
	private Timestamp date;
	private String previousData;
	private User user;
	private Reservation reservation;
	/**
	 * 
	 */
	public Trace() {
		// TODO Auto-generated constructor stub
	}
		
	
	/**
	 * 
	 * @param reservationType
	 * @param modificationType
	 * @param date
	 * @param previousData
	 * @param user
	 * @param reservation
	 */
	public Trace(String reservationType, String modificationType,
			Timestamp date, String previousData, User user,
			Reservation reservation) {
		this.reservationType = reservationType;
		this.modificationType = modificationType;
		this.date = date;
		this.previousData = previousData;
		this.user = user;
		this.reservation = reservation;
	}





	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getReservationType() {
		return reservationType;
	}
	public void setReservationType(String reservationType) {
		this.reservationType = reservationType;
	}
	public String getModificationType() {
		return modificationType;
	}
	public void setModificationType(String modificationType) {
		this.modificationType = modificationType;
	}
	public Timestamp getDate() {
		return date;
	}
	public void setDate(Timestamp date) {
		this.date = date;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Reservation getReservation() {
		return reservation;
	}
	public void setReservation(Reservation reservation) {
		this.reservation = reservation;
	}


	public String getPreviousData() {
		return previousData;
	}


	public void setPreviousData(String previousData) {
		this.previousData = previousData;
	}
	
	
	
	
	
}
